package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.AccountingExpenseCategories;

/**
 * 记账本支出类型 Mapper接口
 *
 * @author ruoyi
 * @date 2025-05-13
 */
public interface AccountingExpenseCategoriesMapper
{
    /**
     * 通过id查询记账本支出类型
     *
     * @param id 记账本支出类型主键
     * @return 记账本支出类型
     */
    public AccountingExpenseCategories selectAccountingExpenseCategoriesById(Long id);

    /**
     * 查询记账本支出类型列表
     *
     * @param accountingExpenseCategories 记账本支出类型
     * @return 记账本支出类型
     */
    public List<AccountingExpenseCategories> selectAccountingExpenseCategoriesList(AccountingExpenseCategories accountingExpenseCategories);

    /**
     * 新增记账本支出类型
     *
     * @param accountingExpenseCategories 记账本支出类型
     * @return 结果
     */
    public int insertAccountingExpenseCategories(AccountingExpenseCategories accountingExpenseCategories);

    /**
     * 修改记账本支出类型
     *
     * @param accountingExpenseCategories 记账本支出类型
     * @return 结果
     */
    public int updateAccountingExpenseCategories(AccountingExpenseCategories accountingExpenseCategories);

    /**
     * 通过id删除记账本支出类型
     *
     * @param id 记账本支出类型主键
     * @return 结果
     */
    public int deleteAccountingExpenseCategoriesById(Long id);

    /**
     * 通过id批量删除记账本支出类型信息
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAccountingExpenseCategoriesByIds(Long[] ids);
}
